/*
 * Lenovo Group
 * Copyright (c) 2015-2016 All Rights Reserved.
 * 
 * Project Name:event-recoder
 * Create Time: 2016年3月5日 下午11:38:07
 */
package com.lenovo.lmrp.server.eventrecorder.mock;

import java.util.Arrays;
import java.util.List;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;

import com.lenovo.lmrp.api.eventrecorder.IEventQuery;
import com.lenovo.lmrp.api.model.RestResponse;
import com.lenovo.lmrp.api.model.view.TicketEventVO;
import com.lenovo.sdc.framework.annotation.RestService;

/**
 * 
 * @author wujin
 * @version v1.0
 */
@RestService
@Path("/event/v1")
@Consumes("application/json;charset-utf-8")
@Produces("application/json;charset-utf-8")
public class EventQueryImpl implements IEventQuery {

    @Override
    public RestResponse<List<TicketEventVO>> getTicketEvents(String itsmCode, String ticketID) {
        RestResponse<List<TicketEventVO>> response = new RestResponse<>(0, "OK", 
                        Arrays.asList(new TicketEventVO[]{new TicketEventVO()}));
        return response;
    }

}
